package com.mall.db.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author LSM
 * @since 2021-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_coupons")
public class Coupons implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 优惠券id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 优惠券名称
     */
    private String name;

    /**
     * 介绍
     */
    private String introduce;

    /**
     * 标签
     */
    private String label;

    /**
     * 最低消费
     */
    private String minimum;

    /**
     * 满减金额
     */
    private String reduction;

    /**
     * 限领
     */
    private Integer eachLimitGet;

    /**
     * 使用范围
     */
    private String scope;

    private String type;

    /**
     * 优惠卷数量
     */
    private Integer number;

    /**
     * 状态 0已过期 1正常
     */
    private Integer status;


}
